package fhp.hlhj.giantfold.customView

import android.app.Dialog
import android.content.Context
import android.os.Bundle
import fhp.hlhj.giantfold.R
import kotlinx.android.synthetic.main.rule_dialog.*

/**
 * Created by Administrator on 2018\3\2 0002.
 */
class RuleDialog(private val str:String,context: Context):Dialog(context, R.style.CustomDialog) {

    override fun onCreate(savedInstanceState: Bundle?) {
        super.onCreate(savedInstanceState)
        setContentView(R.layout.rule_dialog)

        tv.text=str
    }
}